import requests

if __name__=='__main__':
    data = {
    'msg': 'tom'
}
    r = requests.get('http://localhost:8080/weather/11', params=data)
    r.encoding='utf-8'
    content = r.text
    print(content)